<template>
	<!-- 个人中心-我的资产 -->
	<view class="content">
		<view class="banner">
			<image src="../../static/user/zc_bg.png" mode=""></image>
			<view class="pos">
				<view class="point">
				积分余额
				</view>
				<view class="balance">
					￥<text>9999</text>
				</view>
			</view>
			<view class="withdrawal" @click="withdrawal">
				去提现
			</view>
		</view>

		<view class="content-list" >
			<view class="my-content-list" @click="shop">
				<u-icon class="icons" name="bag" size='50' color="#666666"></u-icon>
				<view class="my-content-list-title">
					<text>积分商城</text>
					<u-icon name="arrow-right" size='30' color="#9E9E9E"></u-icon>
				</view>
			</view>
			<!-- <view class="my-content-list" @click="myAssetsClick">
				<u-icon class="icons" name="file-text" size='50' color="#666666"></u-icon>
				<view class="my-content-list-title">
					<text>积分记录</text>
					<u-icon name="arrow-right" size='30' color="#9E9E9E"></u-icon>
				</view>
			</view> -->
			<view class="my-content-list" @click="myorder">
				<u-icon class="icons" name="order" size='50' color="#666666"></u-icon>
				<view class="my-content-list-title">
					<text>我的订单</text>
					<u-icon name="arrow-right" size='30' color="#9E9E9E"></u-icon>
				</view>
			</view>
			<view class="my-content-list" @click="coupon">
				<u-icon class="icons" name="coupon" size='50' color="#666666"></u-icon>
				<view class="my-content-list-title">
					<text>优惠卷</text>
					<u-icon name="arrow-right" size='30' color="#9E9E9E"></u-icon>
				</view>
			</view>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
			}
		},
		onLoad() {},
		mounted() {
		},
		methods: {
			// myAssetsClick(){
			// 	uni.navigateTo({
			// 		url:"/pageB/pointsRecord/index"
			// 	})
			// },
			coupon(){
				uni.navigateTo({
					url:"/pageB/coupon/index"
				})
			},
			shop(){
				uni.navigateTo({
					url:'/pageB/assets/shop'
				})
			},
			myorder(){
				uni.navigateTo({
					url:'/pageB/assets/myOrder'
				})
			},
			withdrawal(){
				uni.navigateTo({
					url: "../../pageB/withdrawal/index",
				})
			}
		}
	}
</script>

<style lang="scss">
	@import "index.scss"
</style>